package com.lottery.www.dao;

import com.lottery.www.entity.UserinfoHeaders;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author leo
 * @since 2023-06-08 14:43:53
 */
@Repository("userinfoHeadersDao")
public interface UserinfoHeadersDao extends MPJBaseMapper<UserinfoHeaders> {

    @Select("select auth from userinfo_headers where username=#{username}")
    public String findAuthByUsername(String username);

}
